#pragma once

#ifdef LINUX
#include <cstdint>
#include <X11/Xlib.h>
#include "Containers/Map.h"

class CX11Window;

//extract from linux platform because X11 header conflict with Engine
class CX11Things
{
public:    
    Display * _Display=nullptr;
    uint64_t LastTimeLeftMouseButtonPressed=0;
    uint64_t LastTimeRightMouseButtonPressed=0;
    uint64_t LastTimeMiddleMouseButtonPressed=0;
    XIM _XIM=0; 
    XIC _XIC=0;

    TMap<Window, CX11Window*> Windows;

    //a unmapped window to address clipboard things
    Window ClipBoardWindow=0;  
};

#endif